using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Text;

namespace Beijing2008
{
    public class BeijingTimer : INotifyPropertyChanged
    {
        private string m_Days;

        public event PropertyChangedEventHandler PropertyChanged;

        public BeijingTimer()
        {

            this.m_Days = "";

        }

        private void NotifyPropertyChanged(String info)
        {

            if (PropertyChanged != null)
            {

                PropertyChanged(this, new PropertyChangedEventArgs(info));

            }

        }

        public string Days
        {

            get { return m_Days; }

            set
            {
                if (value != m_Days)
                {

                    this.m_Days = value;

                    NotifyPropertyChanged("Days");
                }
            }
        }
    }
}
